package com.sixmac.police.service;

import com.sixmac.core.base.service.IService;
import com.sixmac.core.toolbox.ajax.AjaxResult;
import com.sixmac.module.AdminUser;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.Map;


/**
 * AdminUserService
 * 2018-09-26 11:15:36
 * @author Blade
 */
public interface AdminUserService extends IService<AdminUser> {
	
	boolean updateStatus(String ids, Integer status);
	
	Map<String, Object> findOne(Object id);

	/**
	 * 登录
	 *
	 * @param mobile
	 * @param password
	 * @param save
	 * @param request
	 * @param response
	 * @return
	 */
	AjaxResult login(String mobile, String password, Boolean save, HttpServletRequest request, HttpServletResponse response);
}
